//
//  EventRow.swift
//  demo1
//
//  Created by raymond on 2022/5/15.
//

import SwiftUI

struct EventRow: View {
  var event: Event
  var body: some View {
    Text(event.title)
  }
}

struct EventRow_Previews: PreviewProvider {
  private static var newEvent = Event()
  static var previews: some View {
    EventRow(event: newEvent)
  }
}
